from rest_framework import viewsets
from auditlog.serializers import *


class LogEntryViewSets(viewsets.ModelViewSet):
    queryset = LogEntry.objects.all()
    serializer_class = LogEntrySerializer


class RequestEventViewSets(viewsets.ModelViewSet):
    queryset = RequestEvent.objects.all()
    serializer_class = RequestEventSerializer


class LoginEventViewSets(viewsets.ModelViewSet):
    queryset = LoginEvent.objects.all()
    serializer_class = LoginEventSerializer

